<?

class data_fetch extends fetch {
	private $ids;
	
	// Timer
	private $time;
	private $time_mysql;
	private $time_f;
	
	function __construct () {
		require_once("mysql.php");
		require_once("classes/time.class.php");
		
		$this->time = new timer;
	}
	
	function get_ids_from_db() {
		$this->time_mysql = new timer;
		
		$get_data = mysql_query("SELECT house_id, broker_id FROM house_raw_danbolig ORDER BY id ASC LIMIT 1");
		
		while($data = mysql_fetch_array($get_data, MYSQL_NUM)) {
			$this->ids[] = array($data[0], $data[1]);
		}
		
		$this->time_mysql->stop();
		
		$
	}
		
	function fetch_data() {
		$this->time_data = new timer;
	}
	
	function process_data () {
		
	}
}	
